package com.qf.ssm.mapper.order;

import com.qf.ssm.entity.order.CooperativeNetwork;
import com.qf.ssm.entity.order.LogisticsCompany;
import com.qf.ssm.entity.order.OrderMessage;
import com.qf.ssm.entity.order.RegionalLogistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author hzy
 * @DATE 2021/2/25
 */
public interface OrderMapper {

    List<OrderMessage> selectByOMid();

    OrderMessage selectByOrderNums(@Param("orderNums") String orderNums);


    /*
     * 物流公司列表查询
     * */
    LogisticsCompany selectByCompany(@Param("companyName") String companyName);

    /*
     * 省市区物流网点查询
     * */
    List<CooperativeNetwork> selectByCity(@Param("networkCity") String networkCity);

    /*
     * 根据区域名字查询物流仓库
     * */
    List<RegionalLogistics> selectByareaName(@Param("areaName") String areaName);

    List<RegionalLogistics> selectByLcId(@Param("rlId")int rlId);
}
